<include file="Public:header" />
<include file="Public:left" />
	<form action="{:url('line/add')}" method="post" enctype="multipart/form-data" id="brandForm">
	<input type="hidden" name="id" value="{$res.id}"/>
     <section>
      <h2><strong>线路编辑</strong></h2>
      <ul class="ulColumn2">
       <li>
        <span class="item_name" style="width:120px;">线路URL：</span>
        <input type="text" value="{$res.url}" class="textbox textbox_295" name="url" id="url" placeholder="线路URL..."/>
       </li>
       
       <li>
        <span class="item_name" style="width:120px;">排序</span>
        <input type="text" value="{$res.sort}" class="textbox textbox_295" name="sort" id="sort" placeholder="值越大越靠前..."/>
        </li>

       <li>
        <span class="item_name" style="width:120px;"></span>
        <input type="button" class="link_btn" value="提交"/>
       </li>
      </ul>
     </section>
	 </form>
     <!--tabStyle-->
     <script type="text/javascript">
     $(document).ready(function(){
		 //tab
		 $(".admin_tab li a").click(function(){
		  var liindex = $(".admin_tab li a").index(this);
		  $(this).addClass("active").parent().siblings().find("a").removeClass("active");
		  $(".admin_tab_cont").eq(liindex).fadeIn(150).siblings(".admin_tab_cont").hide();
		 });
		 $(".link_btn").click(function(){
			
			$("#brandForm").submit();
		 });

		 });
     </script>

 </div>
</section>
</body>
</html>
